Command-Line Rust: A Project-Based Primer for Writing Rust Clis

Command-Line Rust: A Project-Based Primer for Writing Rust Clis

作者: Youens-Clark Ken
出版社: O'Reilly
出版在: 2022-02-22
ISBN-13: 9781098109431
ISBN-10: 1098109430
裝訂格式: Quality Paper - also called trade paper
總頁數: 398 頁





內容描述


For several consecutive years, Rust has been voted most loved programming language in Stack Overflow's annual developer survey. This open source systems programming language is now used for everything from game engines and operating systems to browser components and virtual reality simulation engines. But Rust is also an incredibly complex language with a notoriously difficult learning curve.
Rather than focusing on the language as a whole, this guide teaches Rust using a single small, complete, focused program in each chapter. Author Ken Youens-Clark shows you how to start, write, and test each of these programs to create a finished product. You'll learn how to handle errors in Rust, read and write files, and use regular expressions, Rust types, structs, and more.
Discover how to:

Use Rust's standard libraries and data types such as numbers, strings, vectors, structs, Options, and Results to create command-line programs
Write and test Rust programs and functions
Read and write files, including stdin, stdout, and stderr
Document and validate command-line arguments
Write programs that fail gracefully
Parse raw and delimited text manually, using regular expressions and Rust crates
Use and control randomness


作者介紹


Ken Youens-Clark is the author of Tiny Python Projects (Manning, 2020) and Mastering Python for Bioinformatics (O'Reilly, 2021). Ken is a senior-level developer with 25 years of experience writing and supporting code written in many languages who has spent several years teaching beginning coding at the university level, and is deeply committed to creating useful teaching resources for people who wish to learn coding.




相關書籍

電腦網路原理, 6/e (含ITS Networking 網路管理與應用國際認證模擬試題)

作者 范文雄 吳進北

2022-02-22

Rcpp : R 與 C++ 的無縫整合

作者 德克·埃德比特爾

2022-02-22

Qt 高級編程

作者 馬克·薩默菲爾德 (Mark Summerfield)

2022-02-22